package com.bana.fvs.model;


import com.bana.fvs.code.DeviceType;
import com.bana.sys.model.TreeNode;

import java.util.List;


/**
 * 雾区
 */
public class FogArea extends TreeNode
{
    //数据库字段
	private int wqbm;
    private String wqmc;
    private int jgbm;

    private int gzms;

    private int kzcl;
    private int wdlddj;
    private int sspl;
    private int zkb;

    private int wdkz;
    private int wdld;
    private int ldsc;
    private int mdsc;
    private int hdys;
    private int mqys;
    private int hsjsdzsl;

    private int jdqbsm;

    private String wqbsm;

    //联动设备
    private int jsdgzms;
    private int xspgzms;
    private int hjgzms;
    private int xjgzms;
    //号角音乐
    private int hjyy;
    //号角音量
    private int hjyl;
    //限速值
    private int xsz;
    //警示灯开关
    private int jsdkg;
    //小车限速值下限
    private int xcxszxx;
    //小车限速值上限
    private int xcxszsx;
    private int dcxszxx;
    private int dcxszsx;

    //访问周期
    private int fwzq;
    //开灯阀值
    private int kdfz;
    //关灯阀值
    private int gdfz;
    //确认次数
    private int qrcs;

    private int kd_kzcl;
    private int kd_wdlddj;
    private int kd_sspl;
    private int kd_zkb;

    private int kd_wdkz;
    private int kd_wdld;
    private int kd_ldsc;
    private int kd_mdsc;
    private int kd_hdys;
    private int kd_mqys;
    private int kd_hsjsdzsl;

    private boolean tempKdfz;
    private int tempQrcs;

    //字段说明
    private String gzmssm;
    private String kzclsm;
    private String wdkzsm;
    private String jsdgzmssm;
    private String xspgzmssm;
    private String hjgzmssm;
    private String xjgzmssm;
    private String xszsm;
    private String jsdkgsm;
    private String ssplsm;
    private String zkbsm;
    private String wdlddjsm;
    private String kd_ssplsm;
    private String kd_zkbsm;
    private String kd_wdlddjsm;

    //方案字段
    private String famc;
    //是否冲突
    private boolean fact;
    private String kssj;
    private String cxsj;

    //能见度检测仪字段
    private int tqdm;
    private String tqdmsm;
    private int jcyyjzt;
    private int jcydk;
    private int jcybsm;
    /***
     * 接收外部能见度数据的编号
     */
    private String jcybh;
    private int njddj;
    private int njdsx;
    private int njdxx;
    private int njd;
    private int njdyfz;
    private int njdsfz;
    private String njddjms;
    private int jcysbzt;
    private String jcysbztsm;
    private String gxsj;

    //天气
    private String wd;
    private String sd;
    private String fs;
    private String fx;
    private String qy;
    private String yl;

    //路面
    private float dmwd;
    private float smhd;
    private float bhd;
    private float xhd;
    private float shxs;
    private String lmzt;
    private int lmztdm;

    //继电器字段
    private int jdqgzms;
    private String jdqgzmssm;

    //光感控制器
    private List<Controller> controllers;

    //控制器状态
    private List<Controller> controllers_zt;

    //文字和配置
    /**
     * 是否强制使用传入的文字参数
     */
    private boolean forceTextConfig;
    /**
     * 雾灯文字
     */
    private String wdwz;
    /**
     * 触发手动
     * bit0=1 满足文字工作条件情况下，触发一次手动文字
     显示
     */
    private int cfsd;
    /**
     * 是否跟随
     * bit1=0 文字工作时，亮度、周期、占空比跟随雾灯（以
     * 下 vv、uu、tt 无效）；
     * bit1=1 文字工作时，亮度、周期、占空比按下面（vv、
     * uu、tt）参数执行 ；
     */
    private int sfgs;
    /**
     * 定时触发
     * bit2=0 定时触发文字工作,=1 定时不触发文字工作
     */
    private int dscf;
    /**
     * 气象触发
     * bit3=0 气象触发文字工作,=1 气象不触发文字工作
     */
    private int qxcf;
    /**
     * 文字模块2
     * bit4=0 文字工作, bit4=1 文字不工作；
     */
    private int wzmk2;
    /**
     * 文字模块1
     *  bit5=0 文字工作，bit5=1 文字不工作；
     */
    private int wzmk1;
    /**
     * 雾灯工作
     *  bit6=0 雾灯工作；
     *  bit6=1 雾灯不工作(需要手动解除或手动控制雾灯指
     *  令自动解除)；
     */
    private int wdgz;
    /**
     * 亮度等级
     */
    private int gs_Lddj;
    /**
     * 闪烁频率
     */
    private int gs_Sspl;
    /**
     * 占空比
     */
    private int gs_Zkb;

    //树字段
    @Override
    public String getId() {
        return String.format("%d%d", DeviceType.FogArea,wqbm);
    }
    @Override
    public int getKey() {
        return wqbm;
    }
    @Override
    public String getName() {
        return wqmc;
    }
    @Override
    public int getType() {
        return DeviceType.FogArea;
    }
    @Override
    public boolean isLeaf() {
        return false;
    }

    public String getGzmssm() {
        return gzmssm;
    }
    public void setGzmssm(String gzmssm) {
        this.gzmssm = gzmssm;
    }
    public int getWqbm() {
        return wqbm;
    }

    public void setWqbm(int wqbm) {
        this.wqbm = wqbm;
    }

    public int getWdlddj() {
        return wdlddj;
    }

    public void setWdlddj(int wdlddj) {
        this.wdlddj = wdlddj;
    }

    public String getWqmc() {
        return wqmc;
    }

    public void setWqmc(String wqmc) {
        this.wqmc = wqmc;
    }

    public int getNjddj() {
        return njddj;
    }

    public void setNjddj(int njddj) {
        this.njddj = njddj;
    }

    public int getNjd() {
        return njd;
    }

    public void setNjd(int njd) {
        this.njd = njd;
    }

    public int getNjdyfz() {
        return njdyfz;
    }

    public void setNjdyfz(int njdyfz) {
        this.njdyfz = njdyfz;
    }

    public int getNjdsfz() {
        return njdsfz;
    }

    public void setNjdsfz(int njdsfz) {
        this.njdsfz = njdsfz;
    }

    public String getNjddjms() {
        return njddjms;
    }

    public void setNjddjms(String njddjms) {
        this.njddjms = njddjms;
    }

    public int getGzms() {
        return gzms;
    }

    public void setGzms(int gzms) {
        this.gzms = gzms;
    }

    public int getWdld() {
        return wdld;
    }

    public void setWdld(int wdld) {
        this.wdld = wdld;
    }

    public int getLdsc() {
        return ldsc;
    }

    public void setLdsc(int ldsc) {
        this.ldsc = ldsc;
    }

    public int getMdsc() {
        return mdsc;
    }

    public void setMdsc(int mdsc) {
        this.mdsc = mdsc;
    }

    public int getHdys() {
        return hdys;
    }

    public void setHdys(int hdys) {
        this.hdys = hdys;
    }

    public int getMqys() {
        return mqys;
    }

    public void setMqys(int mqys) {
        this.mqys = mqys;
    }

    public int getHsjsdzsl() {
        return hsjsdzsl;
    }

    public void setHsjsdzsl(int hsjsdzsl) {
        this.hsjsdzsl = hsjsdzsl;
    }

    public int getJdqbsm() {
        return jdqbsm;
    }

    public void setJdqbsm(int jdqbsm) {
        this.jdqbsm = jdqbsm;
    }

    public int getJdqgzms() {
        return jdqgzms;
    }

    public void setJdqgzms(int jdqgzms) {
        this.jdqgzms = jdqgzms;
    }

    public String getJdqgzmssm() {
        return jdqgzmssm;
    }

    public void setJdqgzmssm(String jdqgzmssm) {
        this.jdqgzmssm = jdqgzmssm;
    }

    public int getJcysbzt() {
        return jcysbzt;
    }

    public void setJcysbzt(int jcysbzt) {
        this.jcysbzt = jcysbzt;
    }

    public String getJcysbztsm() {
        return jcysbztsm;
    }

    public void setJcysbztsm(String jcysbztsm) {
        this.jcysbztsm = jcysbztsm;
    }

    public int getWdkz() {
        return wdkz;
    }

    public void setWdkz(int wdkz) {
        this.wdkz = wdkz;
    }

    public String getWdkzsm() {
        return wdkzsm;
    }

    public void setWdkzsm(String wdkzsm) {
        this.wdkzsm = wdkzsm;
    }


    public String getFamc() {
        return famc;
    }

    public void setFamc(String famc) {
        this.famc = famc;
    }

    public String getKssj() {
        return kssj;
    }

    public void setKssj(String kssj) {
        this.kssj = kssj;
    }

    public String getCxsj() {
        return cxsj;
    }

    public void setCxsj(String cxsj) {
        this.cxsj = cxsj;
    }

    public int getJcybsm() {
        return jcybsm;
    }

    public void setJcybsm(int jcybsm) {
        this.jcybsm = jcybsm;
    }

    public String getGxsj() {
        return gxsj;
    }

    public void setGxsj(String gxsj) {
        this.gxsj = gxsj;
    }

    public int getJgbm() {
        return jgbm;
    }

    public void setJgbm(int jgbm) {
        this.jgbm = jgbm;
    }

    public int getJsdgzms() {
        return jsdgzms;
    }

    public void setJsdgzms(int jsdgzms) {
        this.jsdgzms = jsdgzms;
    }

    public int getXspgzms() {
        return xspgzms;
    }

    public void setXspgzms(int xspgzms) {
        this.xspgzms = xspgzms;
    }

    public int getHjgzms() {
        return hjgzms;
    }

    public void setHjgzms(int hjgzms) {
        this.hjgzms = hjgzms;
    }

    public int getXsz() {
        return xsz;
    }

    public void setXsz(int xsz) {
        this.xsz = xsz;
    }

    public int getJsdkg() {
        return jsdkg;
    }

    public void setJsdkg(int jsdkg) {
        this.jsdkg = jsdkg;
    }

    public String getJsdgzmssm() {
        return jsdgzmssm;
    }

    public void setJsdgzmssm(String jsdgzmssm) {
        this.jsdgzmssm = jsdgzmssm;
    }

    public String getXspgzmssm() {
        return xspgzmssm;
    }

    public void setXspgzmssm(String xspgzmssm) {
        this.xspgzmssm = xspgzmssm;
    }

    public String getHjgzmssm() {
        return hjgzmssm;
    }

    public void setHjgzmssm(String hjgzmssm) {
        this.hjgzmssm = hjgzmssm;
    }

    public String getXszsm() {
        return xszsm;
    }

    public void setXszsm(String xszsm) {
        this.xszsm = xszsm;
    }

    public String getJsdkgsm() {
        return jsdkgsm;
    }

    public void setJsdkgsm(String jsdkgsm) {
        this.jsdkgsm = jsdkgsm;
    }

    public int getHjyy() {
        return hjyy;
    }

    public void setHjyy(int hjyy) {
        this.hjyy = hjyy;
    }

    public int getHjyl() {
        return hjyl;
    }

    public void setHjyl(int hjyl) {
        this.hjyl = hjyl;
    }

    public int getXcxszxx() {
        return xcxszxx;
    }

    public void setXcxszxx(int xcxszxx) {
        this.xcxszxx = xcxszxx;
    }

    public int getXcxszsx() {
        return xcxszsx;
    }

    public void setXcxszsx(int xcxszsx) {
        this.xcxszsx = xcxszsx;
    }

    public int getDcxszxx() {
        return dcxszxx;
    }

    public void setDcxszxx(int dcxszxx) {
        this.dcxszxx = dcxszxx;
    }

    public int getDcxszsx() {
        return dcxszsx;
    }

    public void setDcxszsx(int dcxszsx) {
        this.dcxszsx = dcxszsx;
    }

    public int getXjgzms() {
        return xjgzms;
    }

    public void setXjgzms(int xjgzms) {
        this.xjgzms = xjgzms;
    }

    public String getXjgzmssm() {
        return xjgzmssm;
    }

    public void setXjgzmssm(String xjgzmssm) {
        this.xjgzmssm = xjgzmssm;
    }

    public boolean isFact() {
        return fact;
    }

    public void setFact(boolean fact) {
        this.fact = fact;
    }

    public int getNjdsx() {
        return njdsx;
    }

    public void setNjdsx(int njdsx) {
        this.njdsx = njdsx;
    }

    public int getNjdxx() {
        return njdxx;
    }

    public void setNjdxx(int njdxx) {
        this.njdxx = njdxx;
    }

    public int getKzcl() {
        return kzcl;
    }

    public void setKzcl(int kzcl) {
        this.kzcl = kzcl;
    }

    public int getSspl() {
        return sspl;
    }

    public void setSspl(int sspl) {
        this.sspl = sspl;
    }

    public int getZkb() {
        return zkb;
    }

    public void setZkb(int zkb) {
        this.zkb = zkb;
    }

    public String getKzclsm() {
        return kzclsm;
    }

    public void setKzclsm(String kzclsm) {
        this.kzclsm = kzclsm;
    }

    public String getSsplsm() {
        return ssplsm;
    }

    public void setSsplsm(String ssplsm) {
        this.ssplsm = ssplsm;
    }

    public String getZkbsm() {
        return zkbsm;
    }

    public void setZkbsm(String zkbsm) {
        this.zkbsm = zkbsm;
    }

    public String getWdlddjsm() {
        return wdlddjsm;
    }

    public void setWdlddjsm(String wdlddjsm) {
        this.wdlddjsm = wdlddjsm;
    }

    public String getLmzt() {
        return lmzt;
    }

    public void setLmzt(String lmzt) {
        this.lmzt = lmzt;
    }

    public float getDmwd() {
        return dmwd;
    }

    public void setDmwd(float dmwd) {
        this.dmwd = dmwd;
    }

    public float getSmhd() {
        return smhd;
    }

    public void setSmhd(float smhd) {
        this.smhd = smhd;
    }

    public float getBhd() {
        return bhd;
    }

    public void setBhd(float bhd) {
        this.bhd = bhd;
    }

    public float getXhd() {
        return xhd;
    }

    public void setXhd(float xhd) {
        this.xhd = xhd;
    }

    public float getShxs() {
        return shxs;
    }

    public void setShxs(float shxs) {
        this.shxs = shxs;
    }

    public String getWd() {
        return wd;
    }

    public void setWd(String wd) {
        this.wd = wd;
    }

    public String getSd() {
        return sd;
    }

    public void setSd(String sd) {
        this.sd = sd;
    }

    public String getFs() {
        return fs;
    }

    public void setFs(String fs) {
        this.fs = fs;
    }

    public String getFx() {
        return fx;
    }

    public void setFx(String fx) {
        this.fx = fx;
    }

    public String getQy() {
        return qy;
    }

    public void setQy(String qy) {
        this.qy = qy;
    }

    public String getYl() {
        return yl;
    }

    public void setYl(String yl) {
        this.yl = yl;
    }


    public int getJcydk() {
        return jcydk;
    }

    public void setJcydk(int jcydk) {
        this.jcydk = jcydk;
    }

    public int getFwzq() {
        return fwzq;
    }

    public void setFwzq(int fwzq) {
        this.fwzq = fwzq;
    }

    public int getKdfz() {
        return kdfz;
    }

    public void setKdfz(int kdfz) {
        this.kdfz = kdfz;
    }

    public int getGdfz() {
        return gdfz;
    }

    public void setGdfz(int gdfz) {
        this.gdfz = gdfz;
    }

    public int getQrcs() {
        return qrcs;
    }

    public void setQrcs(int qrcs) {
        this.qrcs = qrcs;
    }

    public int getTempQrcs() {
        return tempQrcs;
    }

    public void setTempQrcs(int tempQrcs) {
        this.tempQrcs = tempQrcs;
    }

    public boolean isTempKdfz() {
        return tempKdfz;
    }

    public void setTempKdfz(boolean tempKdfz) {
        this.tempKdfz = tempKdfz;
    }

    public int getKd_kzcl() {
        return kd_kzcl;
    }

    public void setKd_kzcl(int kd_kzcl) {
        this.kd_kzcl = kd_kzcl;
    }

    public int getKd_wdlddj() {
        return kd_wdlddj;
    }

    public void setKd_wdlddj(int kd_wdlddj) {
        this.kd_wdlddj = kd_wdlddj;
    }

    public int getKd_sspl() {
        return kd_sspl;
    }

    public void setKd_sspl(int kd_sspl) {
        this.kd_sspl = kd_sspl;
    }

    public int getKd_zkb() {
        return kd_zkb;
    }

    public void setKd_zkb(int kd_zkb) {
        this.kd_zkb = kd_zkb;
    }

    public int getKd_wdkz() {
        return kd_wdkz;
    }

    public void setKd_wdkz(int kd_wdkz) {
        this.kd_wdkz = kd_wdkz;
    }

    public int getKd_wdld() {
        return kd_wdld;
    }

    public void setKd_wdld(int kd_wdld) {
        this.kd_wdld = kd_wdld;
    }

    public int getKd_ldsc() {
        return kd_ldsc;
    }

    public void setKd_ldsc(int kd_ldsc) {
        this.kd_ldsc = kd_ldsc;
    }

    public int getKd_mdsc() {
        return kd_mdsc;
    }

    public void setKd_mdsc(int kd_mdsc) {
        this.kd_mdsc = kd_mdsc;
    }

    public int getKd_hdys() {
        return kd_hdys;
    }

    public void setKd_hdys(int kd_hdys) {
        this.kd_hdys = kd_hdys;
    }

    public int getKd_mqys() {
        return kd_mqys;
    }

    public void setKd_mqys(int kd_mqys) {
        this.kd_mqys = kd_mqys;
    }

    public int getKd_hsjsdzsl() {
        return kd_hsjsdzsl;
    }

    public void setKd_hsjsdzsl(int kd_hsjsdzsl) {
        this.kd_hsjsdzsl = kd_hsjsdzsl;
    }

    public String getKd_ssplsm() {
        return kd_ssplsm;
    }

    public void setKd_ssplsm(String kd_ssplsm) {
        this.kd_ssplsm = kd_ssplsm;
    }

    public String getKd_zkbsm() {
        return kd_zkbsm;
    }

    public void setKd_zkbsm(String kd_zkbsm) {
        this.kd_zkbsm = kd_zkbsm;
    }

    public String getKd_wdlddjsm() {
        return kd_wdlddjsm;
    }

    public void setKd_wdlddjsm(String kd_wdlddjsm) {
        this.kd_wdlddjsm = kd_wdlddjsm;
    }

    public List<Controller> getControllers() {
        return controllers;
    }

    public void setControllers(List<Controller> controllers) {
        this.controllers = controllers;
    }

    public int getTqdm() {
        return tqdm;
    }

    public void setTqdm(int tqdm) {
        this.tqdm = tqdm;
    }

    public int getJcyyjzt() {
        return jcyyjzt;
    }

    public void setJcyyjzt(int jcyyjzt) {
        this.jcyyjzt = jcyyjzt;
    }


    public String getJcybh() {
        return jcybh;
    }

    public void setJcybh(String jcybh) {
        this.jcybh = jcybh;
    }

    public String getTqdmsm() {
        return tqdmsm;
    }

    public void setTqdmsm(String tqdmsm) {
        this.tqdmsm = tqdmsm;
    }

    public List<Controller> getControllers_zt() {
        return controllers_zt;
    }

    public void setControllers_zt(List<Controller> controllers_zt) {
        this.controllers_zt = controllers_zt;
    }

    public int getLmztdm() {
        return lmztdm;
    }

    public void setLmztdm(int lmztdm) {
        this.lmztdm = lmztdm;
    }

    public String getWdwz() {
        return wdwz;
    }

    public void setWdwz(String wdwz) {
        this.wdwz = wdwz;
    }


    public int getCfsd() {
        return cfsd;
    }

    public void setCfsd(int cfsd) {
        this.cfsd = cfsd;
    }


    public int getSfgs() {
        return sfgs;
    }

    public void setSfgs(int sfgs) {
        this.sfgs = sfgs;
    }


    public int getDscf() {
        return dscf;
    }

    public void setDscf(int dscf) {
        this.dscf = dscf;
    }


    public int getQxcf() {
        return qxcf;
    }

    public void setQxcf(int qxcf) {
        this.qxcf = qxcf;
    }


    public int getWzmk2() {
        return wzmk2;
    }

    public void setWzmk2(int wzmk2) {
        this.wzmk2 = wzmk2;
    }


    public int getWzmk1() {
        return wzmk1;
    }

    public void setWzmk1(int wzmk1) {
        this.wzmk1 = wzmk1;
    }


    public int getWdgz() {
        return wdgz;
    }

    public void setWdgz(int wdgz) {
        this.wdgz = wdgz;
    }


    public int getGs_Lddj() {
        return gs_Lddj;
    }

    public void setGs_Lddj(int gs_Lddj) {
        this.gs_Lddj = gs_Lddj;
    }


    public int getGs_Sspl() {
        return gs_Sspl;
    }

    public void setGs_Sspl(int gs_Sspl) {
        this.gs_Sspl = gs_Sspl;
    }


    public int getGs_Zkb() {
        return gs_Zkb;
    }

    public void setGs_Zkb(int gs_Zkb) {
        this.gs_Zkb = gs_Zkb;
    }

    public boolean isForceTextConfig() {
        return forceTextConfig;
    }

    public void setForceTextConfig(boolean forceTextConfig) {
        this.forceTextConfig = forceTextConfig;
    }

    public String getWqbsm() {
        return wqbsm;
    }

    public void setWqbsm(String wqbsm) {
        this.wqbsm = wqbsm;
    }
}
